#ifndef CONTEXTAGENTBEHAVIOUR_H_
#define CONTEXTAGENTBEHAVIOUR_H_

#include "AgentManager.h"
#include "ActionSelector.h"

class ContextAgentBehaviour:public AgentBehaviour
{
public:
	static ValueHandler<ActionSelector> ROOT_SELECTOR;
	static ValueHandler<ActionSelector> CURRENT_SELECTOR;
	ContextAgentBehaviour();
	virtual ~ContextAgentBehaviour();
	void select(AttributeHolder *attributes,std::string key);
	virtual void init(AttributeHolder *attributes)  {}
private:
	bool inited;
};

#endif /*CONTEXTAGENTBEHAVIOUR_H_*/
